class Loan < ActiveRecord::Base
  attr_accessible :book_instance_id, :loan_date, :return_date, :status, :user_id
  belongs_to:book_instance
  belongs_to:user
   validates_presence_of :book_instance_id, :user_id
end
